<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core" 
	template="../templates/template.xhtml">

	<ui:define name="content">
	
		<h:form>
			<h:inputHidden value="#{UsuarioMB.usuario.idUsuario}"></h:inputHidden>
			<p>				
				<h:outputText value="Nome:"></h:outputText>
				<h:inputText value="#{UsuarioMB.usuario.nome}"></h:inputText>
			</p>
			<p>
				<h:outputText value="Telefone:"></h:outputText>
				<h:inputText value="#{UsuarioMB.usuario.cpf}"></h:inputText>
			</p>
			<h:commandButton action="#{UsuarioMB.adicionarUsuario}"
				value="Inserir Novo Aluno" />
				<br></br> 
			<h:commandButton action="#{controle.alterarAluno}"
				value="Alterar Aluno" />
			<br />
			<h:commandLink action="index" value="Voltar"/>
		</h:form>
		
	</ui:define>

</ui:composition>